package com.sky.server;


import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.dto.PasswordEditDTO;
import com.sky.entity.Employee;
import com.sky.pojo.StatusUpdate;
import com.sky.result.PageResult;
import com.sky.vo.EmployeeLoginVO;

public interface EmployeeServer {


    // 登录
    EmployeeLoginVO login(EmployeeLoginDTO employeeLoginDTO);

    void addEmployee(EmployeeDTO employeeDTO);

    Employee selectEmployeeById(Long id);

    void updateEmployeeById(EmployeeDTO employeeDTO);

    PageResult pageEmployee(EmployeePageQueryDTO employeePageQueryDTO);

    void status(Integer status, Long id);

    void editPassword(PasswordEditDTO passwordEditDTO);
}
